<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="public/css/bootstrap.css">
    <script src="public/js/jquery.min.js" type="text/javascript"></script>
    <script src="public/js/bootstrap.js" type="text/javascript"></script>
    <title>bootstrap中导航机导航条控件练习</title>
    <style>
        .h20{
            height: 20px;
            padding: 10px 0px;
        }
    </style>
</head>
<body style="padding-top:80px;">
    <div class="container">
        <div class="alert alert-danger alert-dismissible">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                <span aria-hidden="true">&times;</span>
            </button>
            <strong>Warning!</strong> 隔壁老王在摇一摇，请看好自己的老婆。<a href="http://www.itsource.cn/" target="_blank">www.itsource.cn</a>
        </div>
    </div>
    <div class="container">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#">PHP</a></li>
            <li><a href="#">JAVA</a></li>
            <li><a href="#">HTML5</a></li>
            <li><a href="#">CSS</a></li>
            <li><a href="#">ASP.NET</a></li>
        </ul>
        <div class="h20"></div>
        <ul class="nav nav-pills nav-stacked">
            <li class="active"><a href="#">PHP</a></li>
            <li><a href="#">JAVA</a></li>
            <li><a href="#">HTML5</a></li>
            <li><a href="#">CSS</a></li>
            <li><a href="#">ASP.NET</a></li>
        </ul>
        <div class="h20"></div>
        <ul class="nav nav-tabs">
            <li class="active">
                <a href="#">PHP</a>
            </li>
            <li><a href="#">JAVA</a></li>
            <li><a href="#">HTML5</a></li>
            <li><a href="#">CSS</a></li>
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-haspopup="true" aria-expanded="false">Other<span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="#">ASP.NET</a></li>
                    <li><a href="#">JavaScript</a></li>
                    <li><a href="#">JQuery</a></li>
                    <li><a href="#">VUE</a></li>
                    <li><a href="#">Node JS</a></li>
                </ul>
            </li>
        </ul>
        <div class="h20"></div>

        <nav class="navbar navbar-inverse navbar-fixed-top">
            <div class="container-fluid">
                <div class="navabar-header">
                    <a href="#" class="navbar-brand" style="padding-top:10px;">
                        <img src="public/img/g.jpg" alt="" style="max-height:30px;">
                    </a>
                </div>

                <div class="collapse navbar-collapse" id="bs-examp;e-navbar-collapse-l">
                    <ul class="nav navbar-nav">
                        <li><a href="#">文章分类</a></li>
                        <li><a href="#">文章列表</a></li>
                    </ul>
                    <ul class="nav navbar-nav navbar-right">
                        <li class="dropdpwn">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Sandy<span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">用户中心</a></li>
                                <li><a href="#">退出</a></li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>

    </div>
</body>
</html>